#!/bin/bash

. ./list-repo.sh

list_centos_9_stream_AppStream()
{
	list_repo centos9_stream_appstream \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/AppStream/x86_64/os/
}

list_centos_9_stream_BaseOS()
{
	list_repo centos9_stream_baseos \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/BaseOS/x86_64/os/
}

list_centos_9_stream_HighAvailability()
{
	list_repo centos9_stream_highavailability \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/HighAvailability/x86_64/os/
}

list_centos_9_stream_CRB()
{
	list_repo centos9_stream_CRB \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/CRB/x86_64/os/
}

list_centos_9_stream_NFV()
{
	list_repo centos9_stream_nfv \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/NFV/x86_64/os/
}

list_centos_9_stream_RT()
{
	list_repo centos9_stream_rt \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/RT/x86_64/os/
}

list_centos_9_stream_ResilientStorage()
{
	list_repo centos9_stream_resilientstorage \
		https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/ResilientStorage/x86_64/os/
}

sync_CRB()
{
	dnf reposync --repoid=CRB \
		--repofrompath=CRB,https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/CRB/x86_64/os/
}

list_centos_9_stream_AppStream
list_centos_9_stream_BaseOS
list_centos_9_stream_HighAvailability
list_centos_9_stream_CRB
list_centos_9_stream_NFV
list_centos_9_stream_RT
list_centos_9_stream_ResilientStorage
